package cn.enilu.flash.service.park;


import cn.enilu.flash.bean.entity.park.ParkingInfo;
import cn.enilu.flash.bean.view.ParkQuoteView;
import cn.enilu.flash.dao.park.ParkingInfoRepository;

import cn.enilu.flash.service.BaseService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class ParkingInfoService extends BaseService<ParkingInfo,Long,ParkingInfoRepository>  {
    private Logger logger = LoggerFactory.getLogger(getClass());
    @Autowired
    private ParkingInfoRepository parkingInfoRepository;

    public List<Map<String, Object>> getParkings(Long communityId){
        return parkingInfoRepository.getParkings(communityId);
    }

}

